package com.geh.learn.thread;

/**
 * Created by gehui on 2017/2/23.
 */
public class ThreadTest {
    public static void main(String[] args) {

        new Thread(new Runnable() {
            @Override
            public void run() {
                System.out.println("This should be run in another thread");
            }
        }).start();

        new Thread(() -> {
            System.out.print("test thread");
        }).start();
    }
}
